package wcpackage.service;

import wcpackage.domain.entities.User;

import java.util.List;

/**
 * User: rabbit
 * Date: Jun 11, 2009
 * Time: 11:46:53 AM
 */
public interface UserService {

    User logIn(String login, String password);

    int numberOfUsers();

    List<User> find(int first, int count, String sortField, String sortType);

    void createNewUser(User user);
}
